home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
graphics
/
grx01b.arj
/
GRAPHX.DOC
next >
Wrap
Text File
|
1994-01-30
|
3KB
|
111 lines
-------------------------------------------------------------------------------
GraphX, by D. Beauchamp
Version ß0.1
Jan 1994
-------------------------------------------------------------------------------
Welcome to GraphX, the data plotting utility for OS/2! GraphX is intended to
produce scattergrams or histograms with the posibility to choice between point
styles, line styles, etc.
I developed this program to make it easier to display scientific-like graphics
on the PM. To use it, you must give it the data file name and some options.
e.g.: graphx datafile.dat [option1 value1 option2 value2 ...]
The data file must be an ASCII file with X and Y values given in two (2)
columns.
GraphX is not very well protected against misused like 0 on logarithmic scale,
or data going outside the frame. I wrote it with the idea that it should
only be the kernel of a graphic package. It can be use alone but the user
has to be aware of not giving it forbidden commands.
History:
--------
o First release on 94/1/30 on ftp.cdrom.com
Options available:
------------------
[graph options]
ulGrType: GT_SCATTER | GT_HISTO (def.=GT_SCATTER)
[line options]
ulLnType: LT_NONE | LT_FULL (def.=LT_NONE)
[point options]
ulPtType: PT_DOT | PT_CIRCLE | PT_BOX | PT_PLUS | PT_PLUS (def.=PT_BOX)
[label options]
szTitle
szXLabel
szYLabel
[frame options]
xWinLeft: 0-1 (left of frame into window in %)
xWinRight: 0-1
yWinBottom: 0-1
yWinTop: 0-1
xMajor (number of major divisions in X)
xMinor (number of minor divisions in X)
yMajor
yMinor
ulXPrec (number of decimals in X labels)
ulYPrec (number of decimals in Y labels)
[world options]
xMin (minimum value in X)
xMax
yMin
yMax
bxLog: TRUE | FALSE (log scale on X axis?) (def.=FALSE)
byLog: TRUE | FALSE (log scale on Y axis?) (def.=FALSE)
Examples:
---------
graphx toto.dat szTitle "This is the Title" szXLabel "Year" szYLabel "Number"
will draw a graph with data in 'toto.dat', it will be a scattergram, and the
axis labels will be 'Year' and 'Number'.
graphx sales.dat szTitle "Sales in 1993" szXLabel "Months" ulXPrec=0 byLog TRUE
ulGrType GT_HISTO xMin 1 xMax 12 yMin 1 yMax 10000
will produce an histogram with log scale on Y axis.
Remarks:
--------
With scattergrams, LT_FULL will join each point, while it will fill the bars on
histograms.
For more info:
--------------
For more information about this program, contact Dominique Beauchamp at:
beaucham@phy.ulaval.ca [InterNet]
DOMINIQUE BEAUCHAMP 1:240/507 [FidoNet]
PLEASE REPORT ALL BUGS TO THE AUTHOR! THANK YOU!
From the same author: ViewFITS V.0.3, rel.2, a FITS viewer for OS/2 PM. (vf03r2)